<%@page import="org.jeecgframework.web.util.StaticValue"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
	<div region="center" style="padding:1px;">
		<t:datagrid name="zySendInspectionPlanList" fitColumns="false" title="巡检计划" 
			actionUrl="zyInspectionPlanController.do?datagridOfHomePage&planId=${planId}" idField="id" fit="true" queryMode="group">
			<t:dgCol title="主键"			field="id"  	hidden="true"	queryMode="single"  width="120"></t:dgCol>
			<t:dgCol title="巡检计划ID"		field="planId"    								queryMode="single"  query="true" url="zyInspectionPlanController.do?detailsOfPlan&id={id}"	width="100" funname="planDetials"></t:dgCol>
			<t:dgCol title="设备SN"			field="equipmentSpare.sn"    					queryMode="single"	query="true"	width="90"></t:dgCol>
			<t:dgCol title="影院名称"		field="equipmentSpare.zyCinema.name"			queryMode="single"  query="true"	width="130"></t:dgCol>
			<t:dgCol title="省市"			field="tsTerritoryVal"							width="100"	></t:dgCol>
			<t:dgCol title="影院地址"		field="equipmentSpare.zyCinema.address"			width="440"	></t:dgCol>
			<t:dgCol title="巡检联系人"		field="contacter.name"							width="70"	></t:dgCol>
			<t:dgCol title="去年巡检日期"		field="equipmentSpare.lastYearInspectionDate"	width="100"		formatter="yyyy-MM-dd"></t:dgCol>
			<t:dgCol title="计划服务时间"		field="orderBeginToEndVal"						width="150"		></t:dgCol>
			<t:dgCol title="预约上门时间"		field="engineerOrderTime"						width="90"		></t:dgCol>
			<t:dgCol title="巡检计划状态"		field="state"									queryMode="single"	query="true"	dictionary="<%=StaticValue.DIC_PLAN_STATE %>" width="110"></t:dgCol>
		</t:datagrid>
	</div>
</div>
<script type="text/javascript" src="webpage/com/zybk/zy_inspection_plan/zyInspectionPlanList.js"></script>